﻿<UserControl x:Class="Chapters.Chapter04.EllipticalPanelTest"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:Chapter04="clr-namespace:FSharp.Chapter4;assembly=FSharpLibrary">
	<DockPanel Margin="10">

		<CheckBox IsChecked="{Binding UseFerrisWheelLayout, ElementName=_panel, Mode=TwoWay}"
				  Content="Use Ferris Wheel Layout" />

		<Chapter04:EllipticalPanel x:Name="_panel"
								   ItemWidth="40"
								   ItemHeight="30"
								   Margin="0">
			<Button />
			<Button />
			<Button />
			<Button />
			<Button />
			<Button />
			<Button />
			<Button />
			<Button />
			<Button />
		</Chapter04:EllipticalPanel>

	</DockPanel>
</UserControl>
